
/*图片服务 器主机名*/
var IMAGE_SERVER_HOST = "http://localhost:80/";

/*图片服务器应用名*/
var IMAGE_APP = "image_scuthn/";

function getThumb(url,thumb){
	var temp = url.split("/");
	var vtemp = temp[temp.length-1];
	var vtempArr = vtemp.split(".");
	var thumb_name = vtempArr[0]+"_thumb_"+thumb+"."+vtempArr[1];
	var thumb_url = temp[0];
	for(var i=1;i<temp.length-1;i++){
		thumb_url += ("/"+temp[i]);
	}
	thumb_url += ("/"+thumb_name);
	return thumb_url;
	//return temp[0]+"."+temp[1]+"_thumb_"+thumb+"."+temp[2];
}

function getTimeFromTStamp(time){
	return time.replace("T"," ")
}

function ccr($this){
     $this.css("color","#FF9900");

}
function ccg($this){
     $this.css("color","#CCFF00");
}
function ccgD($this){
     $this.css("color","#00FF00");
}
function ccb($this){
     $this.css("color","#00CCFF");
}
function ccB($this){
     $this.css("color","#000000");
}
function ccG($this){
    $this.css("color","#666666");
}
function cc($this){
    $this.css("color","#FFFFFF");
}

function cc_1($this){
    $this.css("color","#000000");
}

function cc_transparent($this){
    $this.css("color","transparent");
}

function cbcr($this){
    $this.css("background-color","#FF9900");
}

function cbcg($this){
    $this.css("background-color","#CCFF00");
}

function cbcgD($this){
    $this.css("background-color","#00FF00");
}

function cbcb($this){
    $this.css("background-color","#00CCFF");
}

function cbc($this){
    $this.css("background-color","#FFFFFF");
}

function cbc_transparent($this){
	$this.css("background-color","transparent");
}

function changeBorderB($this){
	$this.css("border-color","#00FFFF");
	$this.css("border-style","solid");
	$this.css("border-width","2px");
	$this.css("border-radius","3px");
}

function resetBorderB($this){
	$this.css("border-color","#FFFFFF");
}
